package com.dsg.service.contact;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dsg.entity.contact.DsgContactLog;
import com.dsg.entity.dto.ContactLogDto;
import com.dsg.service.apply.IDsglService;

import java.util.List;

/**
 * <p>
 * CONTACT LOG主表 服务类
 * </p>
 *
 * @author system
 * @since 2020-10-06
 */
public interface IDsgContactLogService extends IService<DsgContactLog>, IDsglService<DsgContactLog> {
    List<ContactLogDto> getLogList(String userId);

    /**
     * 新增(整)
     *
     * @param dsgContactLog
     * @return
     */
    boolean addWhole(DsgContactLog dsgContactLog);

    /**
     * 更新(整)
     *
     * @param dsgContactLog
     * @return
     */
    boolean updateWhole(DsgContactLog dsgContactLog);
}
